package com.ruoyi.project.lease.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 客户管理对象 sys_customer
 * 
 * @author admin
 * @date 2021-12-31
 */
public class Customer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long custNo;

    /** 客户名 */
    @Excel(name = "客户名")
    private String custName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String custPhone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String custId;

    /** 性别 */
    @Excel(name = "性别")
    private Integer custSex;

    /** 住址 */
    @Excel(name = "住址")
    private String custAddr;

    /** 客户状态 */
    @Excel(name = "客户状态")
    private Integer custStatus;

    /** 租车次数 */
    @Excel(name = "租车次数")
    private Long rentCount;

    /** 删除标志 */
    private Integer delFlag;

    public void setCustNo(Long custNo)
    {
        this.custNo = custNo;
    }

    public Long getCustNo()
    {
        return custNo;
    }
    public void setCustName(String custName)
    {
        this.custName = custName;
    }

    public String getCustName()
    {
        return custName;
    }
    public void setCustPhone(String custPhone)
    {
        this.custPhone = custPhone;
    }

    public String getCustPhone()
    {
        return custPhone;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setCustSex(Integer custSex)
    {
        this.custSex = custSex;
    }

    public Integer getCustSex()
    {
        return custSex;
    }
    public void setCustAddr(String custAddr)
    {
        this.custAddr = custAddr;
    }

    public String getCustAddr()
    {
        return custAddr;
    }
    public void setCustStatus(Integer custStatus)
    {
        this.custStatus = custStatus;
    }

    public Integer getCustStatus()
    {
        return custStatus;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getRentCount() {
        return rentCount;
    }
    public void setRentCount(Long rentCount) {
        this.rentCount = rentCount;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("custNo", getCustNo())
            .append("custName", getCustName())
            .append("custPhone", getCustPhone())
            .append("custId", getCustId())
            .append("custSex", getCustSex())
            .append("custAddr", getCustAddr())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("custStatus", getCustStatus())
            .append("rentCount", getRentCount())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
